package com.cmbyc.todolist.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author CYF
 * @since 2022-01-02
 */
@TableName("t_user_info")
@ApiModel(value = "UserInfo对象", description = "用户信息表")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("业务ID,全局唯一ID")
    private String bId;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("密码")
    private String userPassword;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("手机")
    private String phone;

    @ApiModelProperty("全部事项数")
    private String allMatterNum;

    @ApiModelProperty("已完成事项数")
    private String doneMatterNum;

    @ApiModelProperty("待办事项数")
    private String remainDoneMatterNum;

    @ApiModelProperty("今日待办事项数")
    private String todayRemainDoneMatterNum;

    @ApiModelProperty("状态,1-启用,0-停用")
    private Boolean userStatus;

    @ApiModelProperty("逻辑删除")
    private Boolean isDel;

    @ApiModelProperty("创建者")
    private String createBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修改者")
    private String updateBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getbId() {
        return bId;
    }

    public void setbId(String bId) {
        this.bId = bId;
    }
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getAllMatterNum() {
        return allMatterNum;
    }

    public void setAllMatterNum(String allMatterNum) {
        this.allMatterNum = allMatterNum;
    }
    public String getDoneMatterNum() {
        return doneMatterNum;
    }

    public void setDoneMatterNum(String doneMatterNum) {
        this.doneMatterNum = doneMatterNum;
    }
    public String getRemainDoneMatterNum() {
        return remainDoneMatterNum;
    }

    public void setRemainDoneMatterNum(String remainDoneMatterNum) {
        this.remainDoneMatterNum = remainDoneMatterNum;
    }
    public String getTodayRemainDoneMatterNum() {
        return todayRemainDoneMatterNum;
    }

    public void setTodayRemainDoneMatterNum(String todayRemainDoneMatterNum) {
        this.todayRemainDoneMatterNum = todayRemainDoneMatterNum;
    }
    public Boolean getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Boolean userStatus) {
        this.userStatus = userStatus;
    }
    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }
    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
            "id=" + id +
            ", bId=" + bId +
            ", userName=" + userName +
            ", userPassword=" + userPassword +
            ", email=" + email +
            ", phone=" + phone +
            ", allMatterNum=" + allMatterNum +
            ", doneMatterNum=" + doneMatterNum +
            ", remainDoneMatterNum=" + remainDoneMatterNum +
            ", todayRemainDoneMatterNum=" + todayRemainDoneMatterNum +
            ", userStatus=" + userStatus +
            ", isDel=" + isDel +
            ", createBy=" + createBy +
            ", createTime=" + createTime +
            ", updateBy=" + updateBy +
            ", updateTime=" + updateTime +
        "}";
    }
}
